home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / gnu / djgpp / contrib / dvx / inc / x11 / xaw / label.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-07-15  |  3.0 KB  |  88 lines

  1. /*
  2.  * $XConsortium: Label.h,v 1.24 89/07/21 01:48:51 kit Exp $
  3.  */
  4.  
  5. /***********************************************************
  6. Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
  7. and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
  8.  
  9.                         All Rights Reserved
  10.  
  11. Permission to use, copy, modify, and distribute this software and its 
  12. documentation for any purpose and without fee is hereby granted, 
  13. provided that the above copyright notice appear in all copies and that
  14. both that copyright notice and this permission notice appear in 
  15. supporting documentation, and that the names of Digital or MIT not be
  16. used in advertising or publicity pertaining to distribution of the
  17. software without specific, written prior permission.  
  18.  
  19. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  20. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  21. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  22. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  23. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  24. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  25. SOFTWARE.
  26.  
  27. ******************************************************************/
  28.  
  29. #ifndef _XawLabel_h
  30. #define _XawLabel_h
  31.  
  32. /***********************************************************************
  33.  *
  34.  * Label Widget
  35.  *
  36.  ***********************************************************************/
  37.  
  38. #include <X11/Xaw/Simple.h>
  39. #include <X11/Xmu/Converters.h>
  40.  
  41. /* Resources:
  42.  
  43.  Name             Class        RepType        Default Value
  44.  ----             -----        -------        -------------
  45.  background         Background        Pixel        XtDefaultBackground
  46.  bitmap             Pixmap        Pixmap        None
  47.  border             BorderColor    Pixel        XtDefaultForeground
  48.  borderWidth         BorderWidth    Dimension    1
  49.  cursor             Cursor        Cursor        None
  50.  destroyCallback     Callback        XtCallbackList    NULL
  51.  font             Font        XFontStruct*    XtDefaultFont
  52.  foreground         Foreground        Pixel        XtDefaultForeground
  53.  height             Height        Dimension    text height
  54.  insensitiveBorder   Insensitive    Pixmap        Gray
  55.  internalHeight         Height        Dimension    2
  56.  internalWidth         Width        Dimension    4
  57.  justify         Justify        XtJustify    XtJustifyCenter
  58.  label             Label        String        NULL
  59.  mappedWhenManaged   MappedWhenManaged    Boolean        True
  60.  resize             Resize        Boolean        True
  61.  sensitive         Sensitive        Boolean        True
  62.  width             Width        Dimension    text width
  63.  x             Position        Position    0
  64.  y             Position        Position    0
  65.  
  66. */
  67.  
  68. #define XtNbitmap "bitmap"
  69. #define XtNforeground "foreground"
  70. #define XtNlabel "label"
  71. #define XtNfont "font"
  72. #define XtNinternalWidth "internalWidth"
  73. #define XtNinternalHeight "internalHeight"
  74. #define XtNresize "resize"
  75. #define XtCResize "Resize"
  76.  
  77. #define XtCBitmap "Bitmap"
  78.  
  79. /* Class record constants */
  80.  
  81. extern WidgetClass labelWidgetClass;
  82.  
  83. typedef struct _LabelClassRec *LabelWidgetClass;
  84. typedef struct _LabelRec      *LabelWidget;
  85.  
  86. #endif /* _XawLabel_h */
  87. /* DON'T ADD STUFF AFTER THIS #endif */
  88.